/*
 * @Author: Old Li (LiYang) 
 * @Date: 2018-05-07 16:09:58 
 * @Last Modified by: Old Li (LiYang)
 * @Last Modified time: 2018-05-07 16:28:12
 */
const path = require("path");

module.exports = {
  entry: "./src/index.js",
  output: {
    filename: "bundle.js",
    path: path.resolve(__dirname, "dist")
  },
  module: {
    rules: [
      {
        test: /\.less/,
        use: ["style-loader", "css-loader", "postcss-loader", "less-loader"]
      }
    ]
  }
};
